<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>homework1</title>
</head>
<body>
<pre>
 class AuthClass:
    name=""
    pwd=""
    def __init__(self,name,pwd):
        self.name=name
        self.pwd=pwd
    def auth(self):
        def p1():
            return("Now you are in the function p1!")
        if self.name=="python":
            if self.pwd=="123":
                return p1()
            else:
                return False
        else:
            return False
user=AuthClass("python","123")
user_f=AuthClass("user","321")
print(user.auth())
print(user_f.auth())
    </pre>
</body>
</html>